<script type="text/javascript">
jQuery(document).ready(function() {

	jQuery('.quick_box').html();
	jQuery('#iul_hostmanage').clone(true).appendTo('.quick_box');
	//jQuery('.quick_box a').attr('href','#');
	jQuery('.quick_box a').removeAttr('href');
	jQuery('.quick_box #m_toptenlog').unbind('click');
	jQuery('.quick_box a').click(function(){
		var nstr=jQuery(this).attr('id');
		//alert(nstr);
		if(nstr=='m_admins'){
			MUI.updateContent({
					element: $('mainPanel'),					
					url: 'index.php?controller=hostmanage&action=admins',
					title: '查看所有主机',
					padding: { top: 8, right: 8, bottom: 8, left: 8 }
				});
		}else if(nstr=='m_blank'){
		MUI.updateContent({
					element: $('mainPanel'),
					url: 'index.php?controller=hostmanage&action=blank',
					title: '未分组主机',
					padding: { top: 8, right: 8, bottom: 8, left: 8 }
				});
		}else if(nstr=='m_addform'){
		MUI.updateContent({
					element: $('mainPanel'),
					url: 'index.php?controller=hostmanage&action=addform',
					title: '添加主机组',
					padding: { top: 8, right: 8, bottom: 8, left: 8 }
				});
		}else if(nstr=='m_admin'){
			MUI.updateContent({
					element: $('mainPanel'),
					url: 'index.php?controller=hostmanage&action=admin',
					title: '添加组管理员',
					padding: { top: 8, right: 8, bottom: 8, left: 8 }
				});
		}
	
	});
});
</script>
<?php $this->_block('contents'); ?><?php $this->_endblock(); ?>